The Syntax Checker

You can check your Scripts for errors at any time by running the syntax checker. In addition to checking for syntax errors, such as missing or misspelled reserved words, the syntax checker will also check that referenced variables or functions are in scope, that the correct number of parameters is being passed to one of the Scripting Methods and that referenced Data Source, data columns and Named Controls exist.

 

To run the syntax checker, choose the Check Scripts button in the Project group of the Ribbon's Home tab.

 

The syntax checker will check all Scripts in the current Project and if it finds any errors, it will display details in the Script Errors Pane. The Script Errors Pane allows you to easily check through any errors and to open Scripts in the Script Editor at an error location.